import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RichTextComponent } from './rich-text/rich-text.component';
import { RouterModule, Routes } from '@angular/router';
import { EditorModule } from '@tinymce/tinymce-angular';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { QuillModule } from 'ngx-quill';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
import { NgxMetroModule } from 'ngx-metro';

const routes: Routes = [
  {path: 'admin', component: RichTextComponent},

];


@NgModule({ declarations: [
        RichTextComponent,
    ], imports: [RouterModule.forChild(routes),
        CommonModule,
        NgxMetroModule,
        EditorModule, FormsModule, ReactiveFormsModule,
        QuillModule.forRoot()], providers: [provideHttpClient(withInterceptorsFromDi())] })
export class AdminModule { }
